<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>New JavaFX Application</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="org.netbeans.modules.javafx2.project.PanelConfigureProject_APPLICATION" name="org.netbeans.modules.javafx2.project.PanelConfigureProject_APPLICATION"></a></p>
<div id="NBCSH2336"><!-- infolevel="all" infotype="General" --><a id="sthref320" name="sthref320"></a>
<h1>New JavaFX Application</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to create a new JavaFX application either with or without FXML. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG382">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>In the Name and Location page, you must set the following properties:</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t13">Element</th>
<th align="left" valign="bottom" id="r1c2-t13">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t13" headers="r1c1-t13">
<p>Project Name</p>
</td>
<td align="left" headers="r2c1-t13 r1c2-t13">Specifies the display name of the project. This name is also used to create the project folder.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t13" headers="r1c1-t13">
<p>Project Location</p>
</td>
<td align="left" headers="r3c1-t13 r1c2-t13">Specifies the folder where you want to store the project metadata and source code. When you create an empty Java project, you cannot store the project folder and the project source code in separate locations like you can with projects from existing source code.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t13" headers="r1c1-t13">
<p>Project Folder</p>
</td>
<td align="left" headers="r4c1-t13 r1c2-t13">Specifies the folder where you want to store the project metadata and source code. The folder is a concatenation of the project location and the project name.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t13" headers="r1c1-t13">
<p>JavaFX Platform</p>
</td>
<td align="left" headers="r5c1-t13 r1c2-t13">Selects the JavaFX-enabled Java platform from the drop-down list. If the Java platform you select is not JavaFX-enabled, a warning appears at the bottom of the panel. If you have no JavaFX-enabled platforms, you must register a new Java platform. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2385">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>

<p>Click <b>Manage Platforms</b>.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t13" headers="r1c1-t13">
<p>Manage Platforms</p>
</td>
<td align="left" headers="r6c1-t13 r1c2-t13">Opens the Java Platform Manager. You can enable JavaFX for a Java platform in the Platform Manager.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t13" headers="r1c1-t13">
<p>Create Custom Preloader</p>
</td>
<td align="left" headers="r7c1-t13 r1c2-t13">Creates a custom preloader for this application when selected. The IDE creates the preloader in a separate project.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t13" headers="r1c1-t13">
<p>Use Dedicated Folder for Storing Libraries</p>
</td>
<td align="left" headers="r8c1-t13 r1c2-t13">Specifies a Libraries Folder (when selected) where required compilation libraries are stored.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t13" headers="r1c1-t13">
<p>Create Application Class</p>
</td>
<td align="left" headers="r9c1-t13 r1c2-t13">Specifies the package and name of the application class. You should enter the fully qualified name of the class without the <code dir="ltr">.java</code> extension (for example, <code dir="ltr">com.me.MyClass</code>).</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>When you click <b>Finish</b>, the project is created on your computer and opened in the Projects window. If you created an application class, this class opens in the editor. If you created an FXML application, the application's FXML file and controller class also open in the editor.</p>
<a id="NBCSH2345" name="NBCSH2345"></a>
<hr><p><b>Related Topics</b></p>
<p>Developing Applications with NetBeans IDE, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG368">
<param name="text" value="<html><u>&quot;Using Java Project Templates&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Developing Applications with NetBeans IDE, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG399">
<param name="text" value="<html><u>&quot;Working with a JavaFX Project&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Developing Applications with NetBeans IDE, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG465">
<param name="text" value="<html><u>&quot;Setting the Target JDK&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
